import request from '#/utils/requestAbort';

//查询操作日志
export async function getPhoneOperationLog(params) {
  return request('/generation-common/phoneNumberInformation/getPhoneOperationLog', {
    method: 'POST',
    data: params,
  });
}
//查询操作日志
export async function getPhoneUserName(params) {
  return request('/generation-common/phoneNumberInformation/getPhoneUserName', {
    method: 'GET',
  });
}

//新增、修改
export async function saveOrUpdate(params) {
  return request('/generation-common/phoneNumberInformation/saveOrUpdate', {
    method: 'POST',
    data: params,
  });
}

//删除
export async function deletePhone(id) {
  return request(`/generation-common/phoneNumberInformation/deletePhone/${id}`, {
    method: 'GET',
  });
}

//手机号信息列表
export async function getPhoneNumberInformationList(params) {
  return request('/generation-common/phoneNumberInformation/getPhoneNumberInformationList', {
    method: 'GET',
    data: params,
  });
}
